package com.zsx.shopping.order.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 订单确认表单
 */
@Data
public class ConfirmForm {

    @NotNull
    private Long receiveAddressId;

    @NotNull
    private Byte deliveryType;

    @NotNull
    private Byte paymentType;

    @NotBlank
    private String token;
}
